﻿<ul class="cloud">
@foreach(var i in Model.Items)
{
    <li>
        <ul class="bar inlinebar">
            <li><a href="@Url.Action(Loc.Act(MimeTypeHelper.IsImage(JDM.String(i.MimeType)) ? "Image" : "Download").Ctrl("Media").NoArea().Set(new
            {
                guid = JDM.Guid(i.Guid)
            }))">&crarr;</a></li>
            <li><a class="confirm" href="@Url.Action(Loc.Act("Delete").Set(new
            {
                id = JDM.Int32(i.EntityID)
            }).Localized())">x</a></li>
        </ul>
        @JDM.String(i.Name)
    </li>
}
</ul>
